
public class ForLoopWithContinueDemo {

	public static void main(String[] args) {
		// Skip when i= 5,6,7 and print rest of them
		for(int i=1;i<20;i++)
		{			
			if(i==5||i==6||i==7)
				{ 
					continue;
				}
			System.out.println("counter ="+i);
			
		}

}
}
